<?php

class Content_Form_Admin_Post_Delete extends Nuo_Form
{
	public function init()
	{
		$this -> setTitle('delete post');

		$this -> addElement('button', '_submit', array(
				'label' => 'submit',
				'type' => 'submit',
				'class' => 'submit',
				'decorators' => array('ViewHelper'),
		));

		$this -> addElement('button', '_cancel', array(
				'label' => 'cancel',
				'type' => 'cancel',
				'class' => 'cancel',
				'onclick'=>'window.history.go(-1)',
				'decorators' => array('ViewHelper'),
		));

		$this -> addDisplayGroup(array(
				'_submit',
				'_cancel'
		), '_buttons');
	}

}
